﻿@{
    Layout = "~/Views/Shared/PublicLayout.cshtml";
    ViewBag.Title = "העלאת תמונות";
}
@section headElements{
    <!-- Load script and stylesheet Files of plupload -->
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/plupload/js/jquery.plupload.queue/css/jquery.plupload.queue.css")" />
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/Content/UploadImages.css")" />
    <!-- Third party script for BrowserPlus runtime (Google Gears included in Gears runtime now) -->
    <script type="text/javascript" src="http://bp.yahooapis.com/2.4.21/browserplus-min.js"></script>
    <!-- Load plupload and all it's runtimes and finally the jQuery queue widget -->
    <script type="text/javascript" src="@Url.Content("~/plupload/js/plupload.full.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/plupload/js/jquery.plupload.queue/jquery.plupload.queue.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/UploadImages.js")"></script>
    <!-- Load script and stylesheet Files of plupload -->
}
<div class="topSpace"></div>
<a href="@(Request.UrlReferrer != null ? Request.UrlReferrer.ToString() : "")" class="submitButton">חזור לאלבום</a>
<ul id="UploaderElements">
    <li>
        <form id="frmUploadImage" action="">
        @Html.Hidden("albumId", (object)ViewBag.AlbumId)
        <div class="panel">
            <div class="fieldRow">
                <div class="label">
                    אלבום</div>
                <div class="value">
                    @ViewBag.AlbumTitle
                </div>
            </div>
            <div class="fieldRow">
                <div class="label">
                    מקטע</div>
                <div class="value">
                    @Html.DropDownList("albumSectionId", (ViewBag.AlbumSectiosList as SelectList), "--כל האלבום--")
                </div>
            </div>
            <div class="clear">
            </div>
        </div>
        <div class="topSpace">
        </div>
        <div class="uploader clear">
            <p>
                You browser doesn't have Flash, Silverlight, Gears, BrowserPlus or HTML5 support.
            </p>
        </div>
        </form>
    </li>
</ul>
<div class="topSpace">
</div>
<input type="button" id="AddUploaderElement" value="העלה למקטע נוסף" class="submitButton" style="display:none;" />